package com.china.juju.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="juju_activity"
    ,catalog="zutuan_prot"
)
public class JujuActivity  implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    public static final String ENTITY_NAME = "com.china.juju.entity.JujuActivity";
	public static final String TABLE_NAME="juju_activity";

    public static final String PK_Field = "id"; 
    public static final String PK_Method = "getId";  
	
	public static final String P_id = "id"; 
	public static final String P_name = "name"; 
	public static final String P_seriesid = "seriesid"; 
	public static final String P_activetype = "activetype"; 
	public static final String P_activestarttime = "activestarttime"; 
	public static final String P_activeendtime = "activeendtime"; 
	public static final String P_address = "address"; 
	public static final String P_schoolid = "schoolid"; 
	public static final String P_createrid = "createrid"; 
	public static final String P_firstposturl = "firstposturl"; 
	public static final String P_limitnum = "limitnum"; 
	public static final String P_fee = "fee"; 
	public static final String P_subactivity = "subactivity"; 
	public static final String P_privateconfig = "privateconfig"; 
	public static final String P_signstarttime = "signstarttime"; 
	public static final String P_signendtime = "signendtime"; 
	public static final String P_description = "description"; 
	public static final String P_organid = "organid"; 
	public static final String P_status = "status"; 
	public static final String P_boost = "boost"; 
	public static final String P_delflag = "delflag"; 
	public static final String P_signrequirement = "signrequirement"; 
	public static final String P_contactinfo = "contactinfo"; 
	public static final String P_createtime = "createtime"; 
	public static final String P_introduce = "introduce"; 
	public static final String P_progressstate = "progressstate"; 
	public static final String P_starnum = "starnum"; 
	public static final String P_joinnum = "joinnum"; 
	public static final String P_praisenum = "praisenum"; 
	public static final String P_type = "type"; 
	public static final String P_weixinpic = "weixinpic"; 
	public static final String P_cityid = "cityid"; 
	public static final String P_picture = "picture"; 
	public static final String P_issupport = "issupport"; 
	public static final String P_priority = "priority"; 

     private String id;
     private String name;
     private String seriesid;
     private String activetype;
     private Long activestarttime;
     private Long activeendtime;
     private String address;
     private String schoolid;
     private String createrid;
     private String firstposturl;
     private Integer limitnum;
     private String fee;
     private String subactivity;
     private Integer privateconfig;
     private Long signstarttime;
     private Long signendtime;
     private byte[] description;
     private String organid;
     private Integer status;
     private Integer boost;
     private Integer delflag;
     private String signrequirement;
     private String contactinfo;
     private Long createtime;
     private String introduce;
     private Integer progressstate;
     private Integer starnum;
     private Integer joinnum;
     private Integer praisenum;
     private Integer type;
     private String weixinpic;
     private String cityid;
     private String picture;
     private Integer issupport;
     private Integer priority;

    public JujuActivity() {
    }
	
    public JujuActivity(String id) {
        this.id = id;
    }
    public JujuActivity(String id, String name, String seriesid, String activetype, Long activestarttime, Long activeendtime, String address, String schoolid, String createrid, String firstposturl, Integer limitnum, String fee, String subactivity, Integer privateconfig, Long signstarttime, Long signendtime, byte[] description, String organid, Integer status, Integer boost, Integer delflag, String signrequirement, String contactinfo, Long createtime, String introduce, Integer progressstate, Integer starnum, Integer joinnum, Integer praisenum, Integer type, String weixinpic, String cityid, String picture, Integer issupport, Integer priority) {
        this.id = id;
        this.name = name;
        this.seriesid = seriesid;
        this.activetype = activetype;
        this.activestarttime = activestarttime;
        this.activeendtime = activeendtime;
        this.address = address;
        this.schoolid = schoolid;
        this.createrid = createrid;
        this.firstposturl = firstposturl;
        this.limitnum = limitnum;
        this.fee = fee;
        this.subactivity = subactivity;
        this.privateconfig = privateconfig;
        this.signstarttime = signstarttime;
        this.signendtime = signendtime;
        this.description = description;
        this.organid = organid;
        this.status = status;
        this.boost = boost;
        this.delflag = delflag;
        this.signrequirement = signrequirement;
        this.contactinfo = contactinfo;
        this.createtime = createtime;
        this.introduce = introduce;
        this.progressstate = progressstate;
        this.starnum = starnum;
        this.joinnum = joinnum;
        this.praisenum = praisenum;
        this.type = type;
        this.weixinpic = weixinpic;
        this.cityid = cityid;
        this.picture = picture;
        this.issupport = issupport;
        this.priority = priority;
    }
   
    @Id 
    @GeneratedValue( generator="paymentableGenerator")  
    @GenericGenerator(name="paymentableGenerator", strategy="uuid")  
    
    @Column(name="ID", unique=true, nullable=false, length=36)
    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="NAME", length=30)
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    @Column(name="SERIESID", length=36)
    public String getSeriesid() {
        return this.seriesid;
    }
    
    public void setSeriesid(String seriesid) {
        this.seriesid = seriesid;
    }
    
    @Column(name="ACTIVETYPE", length=36)
    public String getActivetype() {
        return this.activetype;
    }
    
    public void setActivetype(String activetype) {
        this.activetype = activetype;
    }
    
    @Column(name="ACTIVESTARTTIME")
    public Long getActivestarttime() {
        return this.activestarttime;
    }
    
    public void setActivestarttime(Long activestarttime) {
        this.activestarttime = activestarttime;
    }
    
    @Column(name="ACTIVEENDTIME")
    public Long getActiveendtime() {
        return this.activeendtime;
    }
    
    public void setActiveendtime(Long activeendtime) {
        this.activeendtime = activeendtime;
    }
    
    @Column(name="ADDRESS", length=30)
    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }
    
    @Column(name="SCHOOLID", length=36)
    public String getSchoolid() {
        return this.schoolid;
    }
    
    public void setSchoolid(String schoolid) {
        this.schoolid = schoolid;
    }
    
    @Column(name="CREATERID", length=36)
    public String getCreaterid() {
        return this.createrid;
    }
    
    public void setCreaterid(String createrid) {
        this.createrid = createrid;
    }
    
    @Column(name="FIRSTPOSTURL", length=1000)
    public String getFirstposturl() {
        return this.firstposturl;
    }
    
    public void setFirstposturl(String firstposturl) {
        this.firstposturl = firstposturl;
    }
    
    @Column(name="LIMITNUM")
    public Integer getLimitnum() {
        return this.limitnum;
    }
    
    public void setLimitnum(Integer limitnum) {
        this.limitnum = limitnum;
    }
    
    @Column(name="FEE", length=36)
    public String getFee() {
        return this.fee;
    }
    
    public void setFee(String fee) {
        this.fee = fee;
    }
    
    @Column(name="SUBACTIVITY", length=4000)
    public String getSubactivity() {
        return this.subactivity;
    }
    
    public void setSubactivity(String subactivity) {
        this.subactivity = subactivity;
    }
    
    @Column(name="PRIVATECONFIG")
    public Integer getPrivateconfig() {
        return this.privateconfig;
    }
    
    public void setPrivateconfig(Integer privateconfig) {
        this.privateconfig = privateconfig;
    }
    
    @Column(name="SIGNSTARTTIME")
    public Long getSignstarttime() {
        return this.signstarttime;
    }
    
    public void setSignstarttime(Long signstarttime) {
        this.signstarttime = signstarttime;
    }
    
    @Column(name="SIGNENDTIME")
    public Long getSignendtime() {
        return this.signendtime;
    }
    
    public void setSignendtime(Long signendtime) {
        this.signendtime = signendtime;
    }
    
    @Column(name="DESCRIPTION")
    public byte[] getDescription() {
        return this.description;
    }
    
    public void setDescription(byte[] description) {
        this.description = description;
    }
    
    @Column(name="ORGANID", length=36)
    public String getOrganid() {
        return this.organid;
    }
    
    public void setOrganid(String organid) {
        this.organid = organid;
    }
    
    @Column(name="STATUS")
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    @Column(name="BOOST")
    public Integer getBoost() {
        return this.boost;
    }
    
    public void setBoost(Integer boost) {
        this.boost = boost;
    }
    
    @Column(name="DELFLAG")
    public Integer getDelflag() {
        return this.delflag;
    }
    
    public void setDelflag(Integer delflag) {
        this.delflag = delflag;
    }
    
    @Column(name="SIGNREQUIREMENT", length=1000)
    public String getSignrequirement() {
        return this.signrequirement;
    }
    
    public void setSignrequirement(String signrequirement) {
        this.signrequirement = signrequirement;
    }
    
    @Column(name="CONTACTINFO", length=3000)
    public String getContactinfo() {
        return this.contactinfo;
    }
    
    public void setContactinfo(String contactinfo) {
        this.contactinfo = contactinfo;
    }
    
    @Column(name="CREATETIME")
    public Long getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }
    
    @Column(name="INTRODUCE", length=65535)
    public String getIntroduce() {
        return this.introduce;
    }
    
    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
    
    @Column(name="PROGRESSSTATE")
    public Integer getProgressstate() {
        return this.progressstate;
    }
    
    public void setProgressstate(Integer progressstate) {
        this.progressstate = progressstate;
    }
    
    @Column(name="STARNUM")
    public Integer getStarnum() {
        return this.starnum;
    }
    
    public void setStarnum(Integer starnum) {
        this.starnum = starnum;
    }
    
    @Column(name="JOINNUM")
    public Integer getJoinnum() {
        return this.joinnum;
    }
    
    public void setJoinnum(Integer joinnum) {
        this.joinnum = joinnum;
    }
    
    @Column(name="PRAISENUM")
    public Integer getPraisenum() {
        return this.praisenum;
    }
    
    public void setPraisenum(Integer praisenum) {
        this.praisenum = praisenum;
    }
    
    @Column(name="type")
    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }
    
    @Column(name="weixinpic", length=1000)
    public String getWeixinpic() {
        return this.weixinpic;
    }
    
    public void setWeixinpic(String weixinpic) {
        this.weixinpic = weixinpic;
    }
    
    @Column(name="cityid", length=36)
    public String getCityid() {
        return this.cityid;
    }
    
    public void setCityid(String cityid) {
        this.cityid = cityid;
    }
    
    @Column(name="picture", length=6000)
    public String getPicture() {
        return this.picture;
    }
    
    public void setPicture(String picture) {
        this.picture = picture;
    }
    
    @Column(name="issupport")
    public Integer getIssupport() {
        return this.issupport;
    }
    
    public void setIssupport(Integer issupport) {
        this.issupport = issupport;
    }
    
    @Column(name="priority")
    public Integer getPriority() {
        return this.priority;
    }
    
    public void setPriority(Integer priority) {
        this.priority = priority;
    }



    @Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}


